package cc.mrbird.febs.mark.service;

import cc.mrbird.febs.common.entity.QueryRequest;
import cc.mrbird.febs.job.entity.Job;
import cc.mrbird.febs.mark.entity.Railway;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface IRailwayService extends IService<Railway> {

    List<Railway> findRailways();

    IPage<Railway> findRailways(QueryRequest request, Railway railway);

    void updateRailway(Railway railway);

    /**
     * 批量插入
     *
     * @param list List<Railway>
     */
    void batchInsert(List<Railway> list);
    void deleteRailways(String[] railwayIds);
}
